package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @author ml 
 * 2016-11-21
 *
 */
@Entity
@Table(name="TBL_DICTIONARYITEM")
public class TblDictionaryItem implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id  //联合主键DIC_TYPE, DIC_CODE，不加@id启动会报错，在二者之间选择一个加了，如有需要再更改
	private TblDictionaryItemId id = new TblDictionaryItemId();
	
	@Column(name="DIC_NAME")
	private String dicName;//DIC_NAME  名称
	
	@Column(name="DISP_ORDER")
	private String dispOrder;//DISP_ORDER 顺序号
	
	@Column(name="UPDATE_TIME")
	private Date updateTime;//UPDATE_TIME  更新时间
	
	@Column(name="MEMO")
	private String memo;//MEMO	描述

	public TblDictionaryItemId getId() {
		return id;
	}

	public void setId(TblDictionaryItemId id) {
		this.id = id;
	}

	public String getDicName() {
		return dicName;
	}

	public void setDicName(String dicName) {
		this.dicName = dicName;
	}

	public String getDispOrder() {
		return dispOrder;
	}

	public void setDispOrder(String dispOrder) {
		this.dispOrder = dispOrder;
	}

	

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
	
	
}
